var w23 = {
  e : function(element, attr) {
    var elem = document.createElement(element),
        i = 0,
        j = 0,
        k = 0;
    
    if (attr) {
      for (j in attr) {
        if (attr.hasOwnProperty(j)) {
          if (j != "style") {
            elem[j] = attr[j];  
          } else {
            for (k in attr[j]) {
              if (attr[j].hasOwnProperty(k)) {
                elem[j][k] = attr[j][k];
              }
            }
          }
        }
      }
    }
    if (arguments.length > 2) {
      for (i = 2; i < arguments.length; i++) {
        if (typeof(arguments[i]) == "string") {
          elem.appendChild(w23.t(arguments[i]));
        } else {
          elem.appendChild(arguments[i]);
        }
      }
    }
    return elem;
  },
  t : function(text) {
    return document.createTextNode(text);
  },
  append : function(elem) {
    if (arguments.length > 1) {
      for (var i = 1; i < arguments.length; i++) {
        if (typeof(arguments[i]) == "string") {
          elem.appendChild(w23.t(arguments[i]));
        } else {
          elem.appendChild(arguments[i]);
        }
      }
    }
  }
}

